package com.kayt.cyberBar.cuser.business.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * BHandWorkInventory entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "b_hand_work_inventory")
public class BHandWorkInventory implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 9010477821632618998L;
	private Long id;
	private String handWorkInventoryCode;
	private String handWorkCode;
	private String itemCode;
	private String itemName;
	private String inventoryNum;
	private String createTime;
	private String updateTime;
	private String statusCode;

	// Constructors

	/** default constructor */
	public BHandWorkInventory() {
	}

	/** full constructor */
	public BHandWorkInventory(String handWorkInventoryCode,
			String handWorkCode, String itemCode, String itemName,
			String inventoryNum, String createTime, String updateTime,
			String statusCode) {
		this.handWorkInventoryCode = handWorkInventoryCode;
		this.handWorkCode = handWorkCode;
		this.itemCode = itemCode;
		this.itemName = itemName;
		this.inventoryNum = inventoryNum;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.statusCode = statusCode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "HAND_WORK_INVENTORY_CODE", length = 64)
	public String getHandWorkInventoryCode() {
		return this.handWorkInventoryCode;
	}

	public void setHandWorkInventoryCode(String handWorkInventoryCode) {
		this.handWorkInventoryCode = handWorkInventoryCode;
	}

	@Column(name = "HAND_WORK_CODE", length = 64)
	public String getHandWorkCode() {
		return this.handWorkCode;
	}

	public void setHandWorkCode(String handWorkCode) {
		this.handWorkCode = handWorkCode;
	}

	@Column(name = "ITEM_CODE", length = 64)
	public String getItemCode() {
		return this.itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	@Column(name = "ITEM_NAME", length = 64)
	public String getItemName() {
		return this.itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	@Column(name = "INVENTORY_NUM", length = 64)
	public String getInventoryNum() {
		return this.inventoryNum;
	}

	public void setInventoryNum(String inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	@Column(name = "CREATE_TIME", length = 64)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME", length = 64)
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "STATUS_CODE", length = 64)
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

}